home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Leonardo the Inventor
/
Leonardo The Inventor (93026)(Broderbund)(Riverdeep)(2004).iso
/
LEOWINMV
/
QUIZGAM.DIR
/
00182_Script_MISCELLANEOUS
< prev
next >
Wrap
Text File
|
1996-03-19
|
639b
|
22 lines
-- -----------------------------------------------------------------------------
-- handler swapSoundFile swaps soundfile "soundHolder" with aFile so it's in the cast
-- and can be played using puppetSound
on swapSoundFile aFile
global soundHolder
set the fileName of cast soundHolder = aFile
end
-- -----------------------------------------------------------
-- Handler waitVoiceQGame plays the sound in channel 1 allowing it
-- to be interruptable by a mouseclick.
on waitVoiceQGame aChannel
repeat while (not (the mouseDown)) and (soundBusy(aChannel))
--nothing
end repeat
puppetSound 0
end